package org.emergency.framework.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.emergency.framework.constant.ModelConstant;

/**
 * id生成策略
 * @author Administrator
 *
 */
@Entity
@Table(name = "TB_IDS",  catalog = ModelConstant.DB_CATALOG)
public class TbIds implements java.io.Serializable {

	// Fields
	private Integer TABLE_ID;
	private String tableIdValue;

	// Constructors

	/** default constructor */
	public TbIds() {
	}

	/** full constructor */
	public TbIds(Integer TABLE_ID, String tableId) {
		this.TABLE_ID = TABLE_ID;
		this.tableIdValue = tableId;
	}

	@Id
	@Column(name="TABLE_ID",nullable=false)
	public Integer getTABLE_ID() {
		return TABLE_ID;
	}

	
	public void setTABLE_ID(Integer tABLEID) {
		TABLE_ID = tABLEID;
	}
	

	@Column(name="TABLE_ID_VALUE",length=10,nullable=false)
	public String getTableIdValue() {
		return tableIdValue;
	}

	public void setTableIdValue(String tableIdValue) {
		this.tableIdValue = tableIdValue;
	}

}